/**
 * Shopware 4.0
 * Copyright © 2012 shopware AG
 *
 * According to our dual licensing model, this program can be used either
 * under the terms of the GNU Affero General Public License, version 3,
 * or under a proprietary license.
 *
 * The texts of the GNU Affero General Public License with an additional
 * permission and of our proprietary license can be found at and
 * in the LICENSE file you have received along with this program.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * "Shopware" is a registered trademark of shopware AG.
 * The licensing of the program under the AGPLv3 does not imply a
 * trademark license. Therefore any rights, title and interest in
 * our trademarks remain entirely with us.
 *
 * @category   Shopware
 * @package    Shopware_Styling
 * @subpackage Password Meter
 * @copyright  Copyright (c) 2012, shopware AG (http://www.shopware.de)
 * @version    $Id$
 * @author shopware AG
 */
@mixin shopware-passwordstrength {
	table[id^=passwordmeter] {
		input.#{$prefix}form-text {
			width: 100%;	
		}
	}

    .#{$prefix}form-strengthmeter {
    	@include border-radius(3px);
        background: svg-linear-gradient(0%, 0%, 100%, 0%, (
                  svg-color-stop(#cc0000, 0%, 1),
                  svg-color-stop(#f2ec4f, 35%, 1),
                  svg-color-stop(#8de04a, 80%, 1)
                )) center center no-repeat transparent;
    	margin: 4px 0 0;
    	overflow: hidden;
    	border: 1px solid $border-color;
        background-color: #ff4c00;
        float: right;
        width: 100%;
        height: 5px;
    }

    .#{$prefix}form-strengthmeter-scorebar {
        background-color: white;
        float: right;
        line-height: 5px;
        width: 100%;
    }
}